import request from '@/utils/request'

// 查询访问审核列表
export function listTbAudit(query) {
  return request({
    url: '/tbAudit',
    method: 'get',
    params: query
  })
}

// 查询访问审核详细
export function getTbAudit(aId) {
  return request({
    url: '/personnel/TbAudit/' + aId,
    method: 'get'
  })
}

// 新增访问审核
export function addTbAudit(data) {
  return request({
    url: '/personnel/TbAudit',
    method: 'post',
    data: data
  })
}

// 修改访问审核
export function updateTbAudit(data) {
  return request({
    url: '/personnel/TbAudit',
    method: 'put',
    data: data
  })
}

// 删除访问审核
export function delTbAudit(aId) {
  return request({
    url: '/personnel/TbAudit/' + aId,
    method: 'delete'
  })
}
